package com.arron.state;

public abstract class AccountState {
    protected Account acc;                          //账户
    public abstract void deposit(double amount);    //存款
    public abstract void withdraw(double amount);   //取款
    public abstract void computerInterest();        //计算利息
    public abstract void stateCheck();              //状态检查
}
